package com.attendcollatesys.mapper;


import com.attendcollatesys.entity.AtMonthTotalsPO;
import com.attendcollatesys.entity.vo.MonthAndAtteDaysHoursVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface AtMonthTotalsMapper {
    int insertBatch(List<AtMonthTotalsPO> list);

    int deleteByserialNo(List<String> list);


    List<AtMonthTotalsPO> queryByDateAndNameAndRtx(@Param("currentMonth") Date date,@Param("name") String name, @Param("rtxNumber") String RtxNo);


    MonthAndAtteDaysHoursVO selMonthAtteDHVOByRtx(@Param("rtxNumber") String rtxNumber,@Param("attendanceDate") String attendanceDate );



}
